package com.tql.pandian.service;

import com.ruoyi.common.datasource.annotation.Master;
import com.ruoyi.common.datasource.annotation.Slave;
import com.tql.pandian.entity.analysis.TqlCaseAnlasysEntity;
import com.tql.pandian.entity.analysis.dto.BillFoodReportDayDto;
import com.tql.pandian.entity.analysis.vo.FoodReportVo;
import com.tql.pandian.entity.analysis.vo.RealSummaryVo;
import com.tql.pandian.entity.analysis.vo.ShopBillListVo;
import com.tql.pandian.entity.vo.CaseAnalsysDto;

import java.util.List;
import java.util.Map;

public interface IAnotherDataBaseService {

    List<ShopBillListVo> getShopBillListVo(Map map);

    List<RealSummaryVo> getRealSummary(String dateTime, String tableName);
@Slave
    List<BillFoodReportDayDto> getFoodReportVoList(Long paramTime, String tableName, String deptId);

    int saveCaseAnlasys(TqlCaseAnlasysEntity bean, String tableName);

    int saveListCaseAnlasys(List<TqlCaseAnlasysEntity> list, String tableName);


    List<CaseAnalsysDto> findStapCodeOfDeptCode();

    List<CaseAnalsysDto> findCurrentCaseAndCurrentConsume(String[] deptCodeStapCodeArr, int month);

    List<CaseAnalsysDto> findCurrentConsume(Long reportDate, int month);

    List<CaseAnalsysDto> findCurrentInum(String s, int month);

    void batchInsert(List<CaseAnalsysDto> list, int month1);

@Master
    List<BillFoodReportDayDto> findDishFood(List<String> foodCodes, String deptId);
}
